package com.neusoft.service;

import com.neusoft.mapper.AdminDao;
import com.neusoft.mapper.AdminDaoImpl;
import com.neusoft.model.Admin;

public class AdminServiceImpl implements AdminService {


    private AdminDao adminDao;

    public void setAdminDao(AdminDao adminDao) {
        this.adminDao = adminDao;
    }

    @Override
    public Admin getQueryById(int id) {
        return adminDao.getQueryById(id);
    }

    public static void main(String[] args) {
        AdminServiceImpl service = new AdminServiceImpl();
        service.getQueryById(100);
    }
}
